Adwaita: add inconsistent hover check/radios
authorLapo Calamandrei <calamandrei@gmail.com>
Tue, 24 Jun 2014 18:17:38 +0000 (20:17 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Tue, 24 Jun 2014 18:17:38 +0000 (20:17 +0200)
gtk/resources/theme/Adwaita/_common.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css

index 7138de66ad27d84b6bf833dadb90692236eaa225..c54144a7191a57d7dd2740f0767f5b5298467808 100644 (file)
@@ -1209,6 +1209,7 @@ $asset_suffix: if($variant=='dark', '-dark', '');
                   (':backdrop', '-unchecked-backdrop'),
                   (':backdrop:insensitive', '-unchecked-backdrop-insensitive'),
                   (':inconsistent', '-mixed'),
+                  (':inconsistent:hover', '-mixed-hover'),
                   (':inconsistent:selected', '-mixed-active'),
                   (':inconsistent:backdrop', '-mixed-backdrop'),
                   (':inconsistent:insensitive', '-mixed-insensitive'),
index 62b5a3ac4ea8e642b94853220d8c5bc06632075d..d217bb36611bafd109b1112c7dd736b603aba299 100644 (file)
@@ -1415,6 +1415,11 @@ GtkSwitch {
   background-repeat: no-repeat;
   background-position: center; }
 
+.check:inconsistent:hover {
+  background-image: -gtk-scaled(url("assets/checkbox-mixed-hover-dark.png"), url("assets/checkbox-mixed-hover-dark@2.png"));
+  background-repeat: no-repeat;
+  background-position: center; }
+
 .check:inconsistent:selected {
   background-image: -gtk-scaled(url("assets/checkbox-mixed-active-dark.png"), url("assets/checkbox-mixed-active-dark@2.png"));
   background-repeat: no-repeat;
@@ -1562,6 +1567,11 @@ GtkSwitch {
   background-repeat: no-repeat;
   background-position: center; }
 
+.radio:inconsistent:hover {
+  background-image: -gtk-scaled(url("assets/radio-mixed-hover-dark.png"), url("assets/radio-mixed-hover-dark@2.png"));
+  background-repeat: no-repeat;
+  background-position: center; }
+
 .radio:inconsistent:selected {
   background-image: -gtk-scaled(url("assets/radio-mixed-active-dark.png"), url("assets/radio-mixed-active-dark@2.png"));
   background-repeat: no-repeat;
index 6c3c1ce74500f25b03ad322a136ebacc42ed146f..3e9b16d6e2280b9379460bc2d3e1f1f05b509cc1 100644 (file)
@@ -1414,6 +1414,11 @@ GtkSwitch {
   background-repeat: no-repeat;
   background-position: center; }
 
+.check:inconsistent:hover {
+  background-image: -gtk-scaled(url("assets/checkbox-mixed-hover.png"), url("assets/checkbox-mixed-hover@2.png"));
+  background-repeat: no-repeat;
+  background-position: center; }
+
 .check:inconsistent:selected {
   background-image: -gtk-scaled(url("assets/checkbox-mixed-active.png"), url("assets/checkbox-mixed-active@2.png"));
   background-repeat: no-repeat;
@@ -1561,6 +1566,11 @@ GtkSwitch {
   background-repeat: no-repeat;
   background-position: center; }
 
+.radio:inconsistent:hover {
+  background-image: -gtk-scaled(url("assets/radio-mixed-hover.png"), url("assets/radio-mixed-hover@2.png"));
+  background-repeat: no-repeat;
+  background-position: center; }
+
 .radio:inconsistent:selected {
   background-image: -gtk-scaled(url("assets/radio-mixed-active.png"), url("assets/radio-mixed-active@2.png"));
   background-repeat: no-repeat;